home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / ARMLINUX / MAIL / 9710 / 000070_owner-linux-arm…r.rutgers.edu _Thu Oct 16 19:55:22 1997.msg < prev    next >
Internet Message Format  |  1997-11-30  |  3KB

  1. Return-Path: <owner-linux-arm-outgoing@vger.rutgers.edu>
  2. Received: from nic.funet.fi (nic.funet.fi [128.214.248.6])
  3.     by odie.barnet.ac.uk (8.8.6/8.8.6) with ESMTP id TAA28685
  4.     for <willy@odie.fluff.org>; Thu, 16 Oct 1997 19:55:18 +0100
  5. Received: from vger.rutgers.edu ([128.6.190.2] EHLO vger.rutgers.edu ident: root [port 16447]) by nic.funet.fi with ESMTP id <4267-17628>; Thu, 16 Oct 1997 21:54:31 +0300
  6. Received: by vger.rutgers.edu id <970923-404>; Thu, 16 Oct 1997 12:41:17 -0400
  7. Received: from [194.201.189.33] ([194.201.189.33] HELO mailhost.cogency.co.uk ident: IDENT-NOT-QUERIED [port 1426]) by vger.rutgers.edu with SMTP id <970967-404>; Thu, 16 Oct 1997 12:40:40 -0400
  8. Received:  from cogency.co.uk ([194.201.189.37]) by mailhost.cogency.co.uk (4.1/PIPEX simple 1.27)
  9.     id AA03917; Thu, 16 Oct 97 17:44:20 GMT
  10. Message-Id: <3446518F.DD31BEB0@cogency.co.uk>
  11. Date:     Thu, 16 Oct 1997 17:40:31 +0000
  12. From: David Alan Gilbert <dg@cogency.co.uk>
  13. Organization: Cogency Technology Inc
  14. X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5 sun4m)
  15. Mime-Version: 1.0
  16. To: "A.S.MCGough" <A.S.McGough@newcastle.ac.uk>
  17. Cc: linux-arm@vger.rutgers.edu
  18. Subject: Re: libgcc1.a and making a cross compiler (gcc)
  19. References: <Pine.SOL.3.91-941213.971016155604.5545C-100000@aidan.ncl.ac.uk>
  20. Content-Type: text/plain; charset=us-ascii
  21. Content-Transfer-Encoding: 7bit
  22. X-Orcpt: rfc822;linux-arm@vger.rutgers.edu
  23. Sender: owner-linux-arm@vger.rutgers.edu
  24. Precedence: bulk
  25. Status: RO
  26.  
  27. A.S.MCGough wrote:
  28. > I'm trying to compile up a cross compiler for compiling linux kernels for
  29. > an R260. I've been trying to do this but things are failing and I must
  30. > have missed something, can someone please advise....
  31. > The rundown of what I have done is as follows:
  32. > 1. Patched Binutils 2.7 and compiled with target set to arm-unknown-linuxaout
  33. > 2. Installed Binutis under /usr/local/arm-unknown-linuxaout/
  34. > 3. Patched gcc v. 2.7.2.2 - this is where the fun starts:
  35. >    There is one screwed up patch - I was told not to reverse it but do I
  36. > still apply it?
  37.  
  38. No - do not apply it.
  39.  
  40. > 4. Configured gcc for target arm-unknown-linuxaout
  41. > 5. Edited config/arm/t-linux by adding the line
  42. > CROSS_LIB = libgcc1-asm.a
  43. > and removing /m7 from the appropriate line
  44. > 6. compiled with make LANGUAGES="c c++"
  45. > Which causes the compilation to fail with an error about libgcc1.a not
  46. > being available. The docs state that this file should come from the
  47. > native system or be blank. Which is the correct method for this or where
  48. > do I compile it or get it?
  49.  
  50. I think the line should be:
  51.  
  52. CROSS_LIBGCC1 = libgcc1-asm.a
  53.  
  54. There should be another line in the file almost identical but without the CROSS_
  55.  
  56.  
  57. > PS. any chance of a boot loader for riscos2 or even the source code so I
  58. > can try patching it myself.
  59.  
  60. I'm going to try and hack one of these together over the weekend; no
  61. promises mind you. I have a very old primitive boot loader that
  62. Russ gave me a long time ago which I hacked about with - it ran on RISC OS2.
  63.  
  64. Dave
  65. -- 
  66. ----------------------------------------------------------------------
  67. - David Alan Gilbert - WARNING! This is a beta release .signature    -
  68. - Work:    dg @ cogency.co.uk        -    0161-428-9444              -
  69. - Home:    gro.gilbert @ treblig.org -                               -
  70. ----------------------------------------------------------------------